import 'package:dio/dio.dart';
import 'package:flutter_base/utils/request/index.dart';

class Login {
  final _dioHttp = DioHttp();

  Future<List<Response>> loginAccount(Object data) {
    return _dioHttp.batchRequests([
      RequestOptions(
        path: '/login',
        method: 'post',
        data: data
      )
    ]);
  }
}
